//#pragma once
#ifndef GAME_H
#define GAME_H

//extern STATUS present_st;

class GAME
{
	static const int P=79, W=219, F=32, B=178, D=176;
	enum DIRECTION {Left, Right, Stop};
	enum DIRECT_POINT {LeftUP, LeftDOWN, RightUP, RightDOWN, StrUP, StrDOWN};
	enum STATUS {ST_nostart, ST_move, ST_win, ST_lose, ST_end};
	enum AREA {AR_wall, AR_floor, AR_desk, AR_block, AR_point};
	static const int N=20;
	STATUS present_st;
	AREA tab_area[N][N];
	DIRECTION dir;
	DIRECT_POINT dirPNT;
	char direct_cin;
	bool draw();
	bool status_game();

public:
	void intro();
	bool menu();
	bool instruction();
	bool start();
	//bool draw();
	bool move();
	//bool status_game();
};

#endif